package com.sh.service;

import java.util.List;
import java.util.Map;

import com.sh.entity.Customer;
import com.sh.entity.HandInput;
import com.sh.entity.User;
/**
 * 客户service
 * */
public interface CustomerService {
	//根据 用户名查询
	public List<Customer> listCustomerByName(Map<String,Object> conMap);

	public List<Customer> listCustomer(Map<String,Object> conMap,User user,String sysTime);
	//上传 excel文件,并且到DB
	public String saveUpload(List<Customer> checkList, User user, String sysTime);
	//批量 删除 客户 信息
	public void deleteCustomers(String[] ids);
	/**
	 * 新增 / 修改 保存数据
	 * */
	public void saveCustomers(Customer customer, User user);
	//查询数量
	public int listCustomerCount(Map<String, Object> conMap, User user, String sysTime);

	public List<Customer> listCustomerByPage(Map<String,Object> conMap,User user,String sysTime);

	//判断 客户名称有么有存在
	public boolean isCustomerExist(Customer customer);

}
